CREATE TABLE [dbo].[SiteEvent]
(
[EventId] [int] NOT NULL IDENTITY(1, 1),
[Title] [nvarchar] (150) COLLATE Cyrillic_General_CI_AS NOT NULL,
[EventPlace] [nvarchar] (300) COLLATE Cyrillic_General_CI_AS NULL,
[EventContent] [nvarchar] (max) COLLATE Cyrillic_General_CI_AS NULL,
[EventTypeCode] [int] NOT NULL,
[MembersCount] [int] NULL,
[StartDate] [datetime] NULL,
[FinishDate] [datetime] NULL,
[IsDeleted] [bit] NOT NULL,
[IsVisible] [bit] NOT NULL,
[CreateDate] [datetime] NOT NULL,
[LastModifiedDate] [datetime] NOT NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
ALTER TABLE [dbo].[SiteEvent] ADD CONSTRAINT [PK_SiteEvent] PRIMARY KEY CLUSTERED  ([EventId]) ON [PRIMARY]
GO
